package com.example.xpvideo.mapper;

import com.example.xpvideo.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.xpvideo.entity.req.BackOrderReq;
import com.example.xpvideo.entity.res.BackstageOrderListRes;
import com.example.xpvideo.entity.res.OrderDetailsRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Entity com.example.xpvideo.entity.Order
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {

    List<BackstageOrderListRes> backOrderList(BackOrderReq backOrderReq);

    OrderDetailsRes orderDetailsInfo(@Param("orderSn") Integer orderSn);

    List<Map<String, Object>> queryOrderGoodsInfo(Integer id);
}




